{extend name="../template/index/base.html"}
{block name="title"}{$categorys.name}分类下的文章-{$info['webname']}{/block}
{block name="keywords"}{$info['keyword']}{/block}
{block name="description"}{$info['description']}{/block}
{block name="content"}	
<div class="layui-col-md8">
	<div class="layui-card">
		<h1 class="search-title">{$categorys.name}下的文章</h1>
		{empty name="article"}
		<li class="fly-none search-no">Sorry,此分类没有文章哦</li>
		{/empty}
{volist name="article" id='article'}
<div class="layui-card">
		<div class="layui-card-header artitle">
			<a href="{:URL('/article/'.$article.id)}">{$article.title}</a>
		</div>
		<div class="layui-card-body">
			<div class="acimg">
				<a href="{:URL('/article/'.$article.id)}"><img src="{$article.img}"></a>
			</div>
			<div class="bloginfo">
				{$article.abstract}...
			</div>
			<div class="autor">
				<li><i class="layui-icon wico">&#xe66e;</i><a href="{:URL('/category/'.$article.cid)}">{$article.class}</a></li>
				<li><i class="layui-icon wico">&#xe637;</i>{$article.time|date='Y-m-d',###}</li>
				<li class="dis"><i class="layui-icon wico2">&#xe674;</i>浏览({$article.click})</li>
				<li><i class="layui-icon wico3">&#xe6c6;</i>赞({$article.zan})</li>
				<div class="readyum"><a href="article/{$article.id}">阅读原文>></a></div>
			</div>
		</div>
	</div>
{/volist}
	</div>
{$page}
</div>
{/block}
{block name="jssrc"}
<script src="__indexstatic__/layui/search.js"></script>
{/block}